package com.qf.microuser.user.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * --- 天道酬勤 ---
 *
 * @author QiuShiju
 * @date 2025/11/5
 * @desc LoginParam,是前端传递的登录参数
 * 也可以命名成LoginDTO
 */
@Data
public class LoginParam {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
}
